package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 车型表 set_model
 *
 * @author ruoyi
 */
@Data
@Entity
@Table(name = "set_model")
@TableName(value = "set_model")
@ApiModel(description = "车型表")
public class SetModel implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 车型ID */
    @ApiModelProperty(value = "车型ID")
    private Long id;

    /** 车型编码 */
    @ApiModelProperty(value = "车型编码")
    @Excel(name = "车型编码")
    private String modelCode;

    @ApiModelProperty(value = "华为任务令")
    @Excel(name = "华为任务令")
    private String taskTon;

    /** 车型名称 */
    @ApiModelProperty(value = "车型名称")
    @Excel(name = "车型名称")
    private String model;

    /** 本地模型名称 */
    @ApiModelProperty(value = "本地模型名称")
    @Excel(name = "本地模型名称")
    private String modelDesLocal;

    /** 本地模型编码 */
    @ApiModelProperty(value = "本地模型编码")
    @Excel(name = "本地模型编码")
    private String modelDesLocalCode;

    /** 颜色编码 */
    @ApiModelProperty(value = "颜色编码")
    @Excel(name = "颜色编码")
    private String colorCode;

    /** 车型类型 */
    @ApiModelProperty(value = "车型类型")
    @Excel(name = "车型类型")
    private String modelType;

    /** LED名称 */
    @ApiModelProperty(value = "LED名称")
    @Excel(name = "LED名称")
    private String ledName;

    /** 车型分组号 */
    @ApiModelProperty(value = "车型分组号")
    @Excel(name = "车型分组号")
    private Integer deliveryGroup;

    /** 车型状态（0正常 1关闭） */
    @ApiModelProperty(value = "车型状态")
    private String status;
    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

}
